﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WpfSnqkGasAnalysis.Model
{
    /// <summary>
    ///天然气打印显示数据， 
    /// </summary>
    /// 创建时间：2023-1-11 14:30:59。作者：王浩力
    public class GasPrintView : Gas_analysis
    {
        /// <summary>
        /// 天然气备注标准
        /// </summary>
        public List<Source_dict> source_Dicts { get; set; }

        /// <summary>
        /// 井深。
        /// </summary>
        /// 创建时间：2023-1-14 22:36:38。作者：王浩力
        public string DeepStr
        {
            get
            {
                if (Top_well_deep > 0)
                {
                    return $"{Top_well_deep}~{Bottom_well_deep}";
                }
                return "/";
            }
        }

        /// <summary>
        /// 油压，处理打印显示
        /// </summary>
        public string Oil_pressure_Str
        {
            get
            {
                if (Oil_pressure != null && Oil_pressure >= 0)
                {
                    return Oil_pressure.ToString();
                }
                return "/";
            }
        }

        /// <summary>
        /// 套压，打印显示处理。
        /// </summary>
        public string Casing_pressure_Str
        {
            get
            {
                if (Casing_pressure != null && Casing_pressure >= 0)
                {
                    return Casing_pressure.ToString();
                }
                return "/";
            }
        }


    }
}
